export interface RequestConfig {
    url: string
    method?: 'GET' | 'POST' | 'PUT' | 'DELETE'
    data?: any
    params?: any
    header?: Record<string, string>
    timeout?: number
    showLoading?: boolean
  }
  
  export interface ResponseData<T = any> {
    code: number
    message: string
    data: T
  }